package com.xgzit.xgzmall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgzit.common.utils.PageUtils;
import com.xgzit.xgzmall.coupon.entity.SeckillSessionEntity;

import java.util.List;
import java.util.Map;

/**
 * 秒杀活动场次
 *
 * @author xgz
 * @email 923904706@qq.com
 * @date 2021-03-20 16:45:00
 */
public interface SeckillSessionService extends IService<SeckillSessionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询最近3天的活动
     * @return java.util.List<com.xgzit.xgzmall.coupon.entity.SeckillSessionEntity>
     **/
    List<SeckillSessionEntity> getLatestThreeDaySession();
}

